<?php
function randomQuote() {
	$quotes = array(
		"&quot;Don't talk, it makes you sound stupid.&quot; - Yusuke (Yu Yu Hakusho)",
		"&quot;Lupin! Don't you dare die before I get to arrest you!&quot; - Inspector Zenigata (Lupin III)",
		"&quot;You know why big brothers are born first? To protect the little ones that come after them.&quot; - Ichigo (Bleach)",
		"&quot;A man can't just live on carbohydrates alone...&quot; - Spike Spegiel (Cowboy Bebop)",
		"&quot;Just hitting Shinohara won't solve anything.&quot; - Mayuzumi (Noein)",
		"&quot;How could I forget? He's into dead girls!&quot; - Kagome (Inuyasha)",
		"&quot;Shut up! I don't have time to explain! If you can't accept what's happening around you, then sit here and drink tea forever!&quot; - Holland (Eureka 7)",
		"&quot;Welcome the rich man, he's hard for you to miss. His butt keeps getting bigger, so there's plenty there to kiss!&quot; - Aogaeru (Spirited Away)",
		"&quot;Cut off a wolf's head and it still has the power to bite.&quot; - Lady Eboshi (Princess Mononoke)",
		"&quot;What a dump. When I think of castles, it's not what I picture.&quot; - Old Sophie (Howl's Moving Castle)",
		"&quot;What a strange creature is man, who would cage himself so willingly.&quot - Athena (Appleseed 2004)",
		"&quot;What does it turn to whenever snow melts? It turns to spring!&quot; - Honda Tohru (Fruits Basket)",
		"&quot;I mustn't run away! I mustn't run away! I mustn't run away!&quot; - Shinji Ikari (Neon Genesis Evangelion)",
		"&quot;They are dead - all dead in Shimoda village!&quot;  - Sachiko's daughter (Ninja Scroll)",
		"&quot;The world has not yet heard our answer&quot; - Dragon (One Piece)",
		"&quot;Now that is a secret!&quot; - Xellos (Slayers Next)"
	);
	$rand_quote = array_rand($quotes, 1);
	return $quotes[$rand_quote];
}
$js_list = array( "js/xmlhttp.js", "js/anime.js" );
$header_text="Anime"; 
include("header.php");?>
<div style="width: 80%; margin: auto">
<h2 class="header">Character Selector</h2>
<p>Pick a series and a character to view a picture and description.</p>
<p>
<form>
Series:
<select name="title" onchange="getCharacters(this.value)">
<option value="0">Select a series</option>
<?php
require_once ('server/dbconnect.php');
require_once ('server/anime/showtitles.php');
showTitles();
?>
</select>
<div id="readsection" style="display: none">
Character:
<select name="tempselect" onchange="getInfo(this.value)"></select>
</div>
<span id="writesection"></span>
</form>
</p>
<div id="infosection" style="border-style:solid;border-width:2px;border-color:#800;padding:10px;width:100%"><?php echo randomQuote();?></div>
</div>
<?php include("footer.php");?>